package com.wgfy.user.controller;

import com.wgfy.api.controller.user.HelloControllerApi;
import grace.result.GraceJSONResult;
import grace.result.ResponseStatusEnum;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author WangXinghui 2021/9/27
 */
@RestController

public class HelloController implements HelloControllerApi {

    final static Logger logger = LoggerFactory.getLogger(HelloController.class);

    @Override
    public GraceJSONResult hello(){
        return GraceJSONResult.exception(ResponseStatusEnum.ADMIN_PASSWORD_NULL_ERROR);
    }
}
